package com.service;

import com.domain.Resource;
import com.domain.ResourceVO;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface ResourceService {
    /*
     * 资源分页及多条件查询
     * */
    public PageInfo<Resource> findAllResource(ResourceVO resourceVO);
    /*
     * 添加资源
     * */
    public void saveResource(Resource resource);

    /*
     * 修改资源
     * */

    public void updateResource(Resource resource);
    /*
     * 删除资源
     * */
    public void deleteResource(Integer id);
}
